package com.hexb.smh.entity.param.log;

import com.hexb.core.model.enums.OrderType;
import com.hexb.smh.entity.enums.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : hexb
 */
@Data
public class LoginLogQueryParam {

    @ApiModelProperty("搜索关键字(姓名/手机号)")
    private String searchKey;

    @ApiModelProperty("登录人员类型")
    private RoleType roleType;

    @ApiModelProperty("登录类型(登录/退出)")
    private LoginType type;

    @ApiModelProperty("时间段:起(时间戳)")
    private Long beginTime;

    @ApiModelProperty("时间段:止(时间戳)")
    private Long endTime;

    @ApiModelProperty("操作人员id")
    private Integer accountId;

    @ApiModelProperty("可排序的列")
    private LoginLogSortColumn sortKey;

    @ApiModelProperty("排序方式")
    private OrderType sortType;
}
